package com.tea.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @PACKAGE_NAME: com.tea.common.config
 * @CLASSNAME: EmailConf
 * @DEACRIPTION:
 * @AUTHOR: GuoChen
 * @DATE: 2024/6/18
 * @WEEK: 周二
 **/
@Data
@Configuration
@ConfigurationProperties("email")
public class EmailConf {
    
    // 发送方邮箱地址
    private String from;
    // 接收方邮箱地址
    private List<String> tos;
}
